package com.example;

import java.util.Properties;

record Person(String name, int age){}

public class Main {
    public static void main(String[] args) {
        Person chuan = new Person("不知名的川", 30);
        System.out.println(chuan);
        System.out.println(Runtime.version());
        Properties properties = System.getProperties();
        for (String key : properties.stringPropertyNames()) {
            String value = properties.getProperty(key);
            System.out.println(key + ": " + value);
        }
    }
}